package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.ChannelDTO;
import com.heima.model.admin.pojo.AdChannel;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;

public interface ChannelService extends IService<AdChannel> {
    PageResponseResult findByNameAndPage(ChannelDTO channelDTO);


    ResponseResult updateChannel(AdChannel adChannel);

    ResponseResult insert(AdChannel adChannel);

    ResponseResult deleteChannel(Integer id);
}
